<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>
TimestampWithTimeZone
</title><link rel="stylesheet" type="text/css" href="../../../stylesheet.css" />
<script type="text/javascript" src="../../../animate.js"></script>
</head><body onload="openLink();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
<h1>TimestampWithTimeZone</h1>
How we expose "TIMESTAMP WITH TIME ZONE" in our ResultSets.<br /><br />
<table class="block"><tr onclick="return allDetails()"><th colspan="2">Methods</th></tr>
<tr id="__0" onclick="return on(0)">
<td class="return">boolean</td><td class="method">
<a id="equals_Object" href="#equals_Object">equals</a>(Object obj)
</td></tr>
<tr onclick="return off(0)" class="detail" id="_0">
<td class="return">boolean</td><td>
<a id="equals_Object" href="#equals_Object">equals</a>(Object obj)
<div class="methodText"></div>
</td></tr>
<tr id="__1" onclick="return on(1)">
<td class="return">int</td><td class="method">
<a id="getDay" href="#getDay">getDay</a>()
<div class="methodText">Gets the day of month 1-based.</div>
</td></tr>
<tr onclick="return off(1)" class="detail" id="_1">
<td class="return">int</td><td>
<a id="getDay" href="#getDay">getDay</a>()
<div class="methodText">Gets the day of month 1-based.

 <p>The day of month is in the specified time zone and not UTC. So for
 {@code 2015-12-31 19:00:00.00-10:00} the value returned
 is {@code 31} even though in UTC the day of month is {@code 1}.</p></div>
<div class="itemTitle">Returns:</div>
<div class="item">the day of month</div>
</td></tr>
<tr id="__2" onclick="return on(2)">
<td class="return">int</td><td class="method">
<a id="getMonth" href="#getMonth">getMonth</a>()
<div class="methodText">Gets the month 1-based.</div>
</td></tr>
<tr onclick="return off(2)" class="detail" id="_2">
<td class="return">int</td><td>
<a id="getMonth" href="#getMonth">getMonth</a>()
<div class="methodText">Gets the month 1-based.

 <p>The month is in the specified time zone and not UTC. So for
 {@code 2015-12-31 19:00:00.00-10:00} the value returned
 is {@code 12} even though in UTC the month is {@code 1}.</p></div>
<div class="itemTitle">Returns:</div>
<div class="item">the month</div>
</td></tr>
<tr id="__3" onclick="return on(3)">
<td class="return">long</td><td class="method">
<a id="getNanosSinceMidnight" href="#getNanosSinceMidnight">getNanosSinceMidnight</a>()
<div class="methodText">Gets the nanoseconds since midnight.</div>
</td></tr>
<tr onclick="return off(3)" class="detail" id="_3">
<td class="return">long</td><td>
<a id="getNanosSinceMidnight" href="#getNanosSinceMidnight">getNanosSinceMidnight</a>()
<div class="methodText">Gets the nanoseconds since midnight.

 <p>The nanoseconds are relative to midnight in the specified
 time zone. So for {@code 2016-09-24 00:00:00.000000001-00:01} the
 value returned is {@code 1} even though {@code 60000000001}
 nanoseconds have passed since midnight in UTC.</p></div>
<div class="itemTitle">Returns:</div>
<div class="item">the nanoseconds since midnight</div>
</td></tr>
<tr id="__4" onclick="return on(4)">
<td class="return">short</td><td class="method">
<a id="getTimeZoneOffsetMins" href="#getTimeZoneOffsetMins">getTimeZoneOffsetMins</a>()
<div class="methodText">The time zone offset in minutes.</div>
</td></tr>
<tr onclick="return off(4)" class="detail" id="_4">
<td class="return">short</td><td>
<a id="getTimeZoneOffsetMins" href="#getTimeZoneOffsetMins">getTimeZoneOffsetMins</a>()
<div class="methodText">The time zone offset in minutes.</div>
<div class="itemTitle">Returns:</div>
<div class="item">the offset</div>
</td></tr>
<tr id="__5" onclick="return on(5)">
<td class="return">int</td><td class="method">
<a id="getTimeZoneOffsetSeconds" href="#getTimeZoneOffsetSeconds">getTimeZoneOffsetSeconds</a>()
<div class="methodText">The time zone offset in seconds.</div>
</td></tr>
<tr onclick="return off(5)" class="detail" id="_5">
<td class="return">int</td><td>
<a id="getTimeZoneOffsetSeconds" href="#getTimeZoneOffsetSeconds">getTimeZoneOffsetSeconds</a>()
<div class="methodText">The time zone offset in seconds.</div>
<div class="itemTitle">Returns:</div>
<div class="item">the offset</div>
</td></tr>
<tr id="__6" onclick="return on(6)">
<td class="return">long</td><td class="method">
<a id="getYMD" href="#getYMD">getYMD</a>()
</td></tr>
<tr onclick="return off(6)" class="detail" id="_6">
<td class="return">long</td><td>
<a id="getYMD" href="#getYMD">getYMD</a>()
<div class="methodText"></div>
<div class="itemTitle">Returns:</div>
<div class="item">the year-month-day bit field</div>
</td></tr>
<tr id="__7" onclick="return on(7)">
<td class="return">int</td><td class="method">
<a id="getYear" href="#getYear">getYear</a>()
<div class="methodText">Gets the year.</div>
</td></tr>
<tr onclick="return off(7)" class="detail" id="_7">
<td class="return">int</td><td>
<a id="getYear" href="#getYear">getYear</a>()
<div class="methodText">Gets the year.

 <p>The year is in the specified time zone and not UTC. So for
 {@code 2015-12-31 19:00:00.00-10:00} the value returned
 will be {@code 2015} even though in UTC the year is {@code 2016}.</p></div>
<div class="itemTitle">Returns:</div>
<div class="item">the year</div>
</td></tr>
<tr id="__8" onclick="return on(8)">
<td class="return">int</td><td class="method">
<a id="hashCode" href="#hashCode">hashCode</a>()
</td></tr>
<tr onclick="return off(8)" class="detail" id="_8">
<td class="return">int</td><td>
<a id="hashCode" href="#hashCode">hashCode</a>()
<div class="methodText"></div>
</td></tr>
<tr id="__9" onclick="return on(9)">
<td class="return">String</td><td class="method">
<a id="toString" href="#toString">toString</a>()
</td></tr>
<tr onclick="return off(9)" class="detail" id="_9">
<td class="return">String</td><td>
<a id="toString" href="#toString">toString</a>()
<div class="methodText"></div>
</td></tr>
</table>
</div></td></tr></table></body></html>
